package com.gxa.saas.mapper;


import com.gxa.saas.pojo.BrandFirst;

import java.util.List;
import java.util.Map;


/**
 * @author wanghai
 * @date 2022/6/6 19:45
 */
public interface BrandMapper {
    List<Map<String,Object>> selectByPage(Integer limit, Integer size);
    Integer insert(BrandFirst brandFirst);
    List<BrandFirst> selectLike(String name);
    Integer update(BrandFirst brandFirst);
    Integer delete(Integer id);
    Integer updateCount(Integer count, Integer id);
    BrandFirst selectById(Integer id);
    List<BrandFirst> selectAll();
    BrandFirst selectByName(String name);
}
